package com.ask.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;


/**
 * 提问参数
 * Created by lwl
 */
@Getter
@Setter
public class UserParam {

    @ApiModelProperty(value = "用户id", required = true)
    private String userId;//mongodb 生成

    @ApiModelProperty(value = "昵称", required = true)
    private String nickname;

    @ApiModelProperty(value = "头像url", required = false)
    private String headUrl;

    @ApiModelProperty(value = "email", required = true)
    private String email;

    @ApiModelProperty(value = "password", required = true)//md5
    private String password;
}

